var t = getApp();

Page({
    data: {
      list:[1,2,3,4,5]
    },
    onLoad: function(o) {
        this.data.token = wx.getStorageSync("log");
        var n = this;
        wx.request({
            url: t.globalData.dic + "doctor/withdraw/bank/toWithdrawDeposit",
            data: {
                token: this.data.token
            },
            success: function(t) {
                200 == t.data.code ? n.setData({
                    list: t.data.data.config.ruleDesc.split("|")
                }) : 
                // 提示框
                // wx.showToast({
                //     title: "系统繁忙，请稍后重试",
                //     icon: "none",
                //     duration: 2e3
                // });
                console.log(1)
            },
            fail: function() {
                // 提示框
                // wx.showToast({
                //     title: "系统繁忙，请稍后重试",
                //     icon: "none",
                //     duration: 2e3
                // });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {}
});